package com.dk.feign.impl;

import com.dk.data.Result;
import com.dk.feign.emilFeign;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class EmilFeignImpl implements emilFeign {
    private Logger logger = LoggerFactory.getLogger(EmilFeignImpl.class);

    @Override
    public Result update(String su) {
        logger.error("邮件内容参数为，{} ",su);
        return Result.FALLEOVER();
    }
}
